package com.zc.serviceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zc.dao.DepartmentMapper;
import com.zc.po.Department;
import com.zc.service.DepartmentService;

@Service
public class DepartmentServiceImpl implements DepartmentService {
	@Autowired
	private DepartmentMapper departmentMapper;

	@Override
	public List<Department> selectAll() {
		List<Department> list = departmentMapper.selectAll();
		return list;
	}
}
